package com.kuaimacode.kframework.constants;


import lombok.Getter;

/**
 * @author 12786 on 2019/3/16.
 * @version 1.0
 */
public class MasterConstants {

    /**
     *技能-静态字段
     */
    public static  final String SERVICE_TYPE = "00";
    /**
     * 默认附近订单公里数
     */
    public static  final Integer KILO_METRE = 10;
    /**
     * type静态字段
     */
    public static  final Integer TYPE = 4;

    public static  final String YSS = "1";

    public static  final String NO = "2";

    public static  final String DICPATCH = "3";

    public static  final String APPLYING = "1";

    public static  final String APPLYED = "2";

    public static  final String REMARK = "代收款余额提现";

    public static  final String NOMAR_REMARK="普通余额提现";

    public static  final String SKILL_CONTANTSPAO = "跑腿";

    @Getter
    public enum AccountDetailType{
        DETAIL_TYPE_IN(1,"支出"),
                DETAIL_TYPE_OUT(2, "入账"),
        IN_OUT_TYPE_1(1, "基本入账"),
        IN_OUT_TYPE_2(2, "基本出账"),
        IN_OUT_TYPE_3(3, "奖励"),
        IN_OUT_TYPE_4(4, "罚款"),
        IN_OUT_TYPE_5(5, "充值"),
        IN_OUT_TYPE_6(6, "提现"),
        ACCOUNT_WAY_1(1, "微信"),
        ACCOUNT_WAY_2(2, "支付宝"),
        ACCOUNT_WAY_3(3, "银行卡");

        private Integer code;

        private String message;

        AccountDetailType(Integer code, String message) {
            this.code = code;
            this.message = message;
        }
    }


    @Getter
    public enum MasterOrderCurrentStatus{
        STATUS_1("1","致电发货人"),
        STATUS_2("2", "已到达"),
        STATUS_3("3", "拍照取货"),
        STATUS_4("4", "联系收货人"),
        STATUS_5("5", "已送达"),
        STATUS_6("6", "代收货款"),
        STATUS_QRCODE("7", "收款二维码"),
        STATUS_7("8", "收货验证码"),
        STATUS_8("9", "完成");

        private String code;

        private String message;

        MasterOrderCurrentStatus(String code, String message) {
            this.code = code;
            this.message = message;
        }
    }

    @Getter
    public enum MasterAcctityStatus{
        ACCTITY_STATUS_1("1","取货中"),
        ACCTITY_STATUS_2("2", "送货中"),
        ACCTITY_STATUS_3("3", "完成");

        private String code;

        private String message;

        MasterAcctityStatus(String code, String message) {
            this.code = code;
            this.message = message;
        }
    }
}
